﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Retirement/retirement.master" AutoEventWireup="true" CodeFile="trading.aspx.cs" Inherits="Retirement_Admin_trading" %>

<asp:Content ID="Content" ContentPlaceHolderID="retirement_ContentPlaceHolder" runat="Server">

    <h2 id="heading">
        <a href="../home.aspx">World Trade Bank</a> > <a href="~/retirement/admin/manageClients.aspx">Retirement</a> > <a href="manageFunds.aspx">
            Funds</a> > <a href="fundStockList.aspx">Stocks</a> > Trade Stocks</h2>

       <p style="font-family: 'Oxygen', Arial; font-weight: bold; font-size: 40px">
        Trade Stocks</p><br />

        <fieldset style="border: 1px solid #808080;">
        <legend style="border-style: none; font-size: 24px; font-weight: bold">Account Details</legend>
        <br />
        Account Value(SGD): <asp:Label ID="lb_accountValue" runat="server" Text="$100,000"></asp:Label><br />
        Buying Power: <asp:Label ID="lb_buyingPower" runat="server" Text="$56,000"></asp:Label><br />
        Cash: <asp:Label ID="lb_cash" runat="server" Text="$56,000"></asp:Label>
        </fieldset>
        <br /><br />

        <table class="tbl_stockTrading" width=""60%>
        <tr>
        <td>Stock Symbol</td>
        <td><asp:TextBox ID="tb_stockSymbol" runat="server"></asp:TextBox></td>
        <td></td>
        </tr>

        <tr>
        <td>Transaction</td>
        <td><asp:DropDownList ID="ddl_detailType" runat="server">    
           <asp:ListItem>Buy</asp:ListItem>
           <asp:ListItem>Sell</asp:ListItem>
           </asp:DropDownList></td>
        <td></td>
        </tr>

        <tr>
        <td>Quantity</td>
        <td><asp:TextBox ID="tb_quantity" runat="server"></asp:TextBox></td>
        <td></td>
        </tr>

        <tr>
        <td>Price</td>
        <td><asp:RadioButton ID="rb_market" runat="server" Text="Market" GroupName="TradingPrice" /></td>
        <td></td>
        </tr>

        <tr>
        <td>Price</td>
        <td><asp:RadioButton ID="rb_limit" runat="server" Text="Limit $" GroupName="TradingPrice" /></td>
        <td><asp:TextBox ID="tb_limit" runat="server"></asp:TextBox></td>
        </tr>
            
        <tr>
        <td>Price</td>
        <td><asp:RadioButton ID="rb_stop" runat="server" Text="Stop $" GroupName="TradingPrice" /></td>
        <td><asp:TextBox ID="tb_stop" runat="server"></asp:TextBox></td>
        </tr>
        
        <tr>
        <td>Duration</td>
        <td><asp:DropDownList ID="ddl_duration" runat="server">    
           <asp:ListItem>Good Till Cancelled</asp:ListItem>
           <asp:ListItem>Day Order</asp:ListItem>
           </asp:DropDownList></td>
        <td></td>
        </tr>
        </table>
        <br /><br />
        <asp:Button ID="btn_previewOrder" runat="server" Text="Preview Order" />&nbsp;&nbsp;&nbsp;&nbsp;
        <asp:Button ID="btn_submitOrder" runat="server" Text="Submit Order" />
        <br /><br /><br />
        <asp:Image ID="img_previewOrder" runat="server" ImageUrl="~/Retirement/Images/previewOrder2.png" />
</asp:Content>

